  <% 	int numRelegated = new Integer(request.getParameter("numRelegated")).intValue();
  	int numPromoted = new Integer(request.getParameter("numPromoted")).intValue();
  	String teamId = request.getParameter("teamId");
  	String seasonId = request.getParameter("seasonId");
  	String teamName = request.getParameter("teamName");
  	int i = new Integer(request.getParameter("i")).intValue();
  	String rowClass = "";
  	if(i%2==0) rowClass = "r2";
  	else rowClass = "r1";
  %>
  	
  	<tr <%if(i==0){%>class="champion"<%}else if(i<numPromoted){%>class="promoted"<%}else if(i>=numRelegated){%>class="relegated"<%}else{%>class="<%=rowClass%>"<%}%>>
          <td><A  
                  href="team.bafa?TeamId=<%=teamId%>&SeasonId=<%=seasonId%>"><b><%=teamName%></b></A></td>
          <td><%=request.getParameter("played")%></td>
         
          <td><%=request.getParameter("won")%></td>
          <td><%=request.getParameter("drawn")%></td>
          <td><%=request.getParameter("lost")%></td>
          <td><%=request.getParameter("for")%></td>
          <td><%=request.getParameter("against")%></td>
          <td><%=request.getParameter("goalDifference")%></td>
          <td><%=request.getParameter("points")%></td>
          <td><%if(i==0){%>C<%}else if(i<numPromoted){%>P<%}else if(i>=numRelegated){%>R<%}%></td>
        </tr>
	